package com.silverhaze.diamond.client.ui.components;

import com.silverhaze.commons.ui.combobox.autocomplete.AutoCompleteComboBox;

import java.util.List;

/**
 * SystemUser: Babanin
 * Date: 13.05.2009
 * Time: 16:44:54
 */
public class StringAutoCompleteComboBox extends AutoCompleteComboBox<String> {
    public StringAutoCompleteComboBox(List<String> items) {
        super(items);
    }

    public String getText() {
        return super.getSelectedItem();
    }

    public void setText(String text) {
        super.setSelectedItem(text);
    }
}

